package com.boruishangge.persagysdk.base;

import android.app.Application;
import android.content.Context;

import androidx.multidex.MultiDex;
import androidx.multidex.MultiDexApplication;

import com.jeremyliao.liveeventbus.LiveEventBus;

/**
 * Created by wuaomall@gmail.com on 2019/5/5.
 */
public class BaseApplication extends MultiDexApplication {
    public static Application application = null;
    public static Context context = null;

    @Override
    public void onCreate() {
        super.onCreate();
        application = this;
        MultiDex.install(this);
        context = this.getApplicationContext();
//        LiveEventBus.get()
//                .config()
//                .supportBroadcast(this)
//                .lifecycleObserverAlwaysActive(true)
//                .autoClear(false);


    }




}
